package com.fhz.day003.mvvm;

import androidx.lifecycle.ViewModel;

/**
 * 时间:2022/3/22
 *
 * @author msfeng
 * 简述: 基础的viewModel
 */
public abstract class BaseViewModel<P extends BaseRepository> extends ViewModel {

    protected P repository;

    public BaseViewModel(P repository) {
        this.repository = repository;
    }
}


